package org.u2ml.app.business;

import java.util.List;
import javax.ws.rs.QueryParam;

import org.u2ml.app.domain.Project;
import org.u2ml.app.domain.ProjectClass;
import org.u2ml.app.domain.ProjectDiagram;

public interface ProjectDiagramService {
	
	public List<ProjectDiagram> get();
	public ProjectDiagram find(@QueryParam("oid") Long oid);
	public ProjectDiagram findByName(@QueryParam("name") String name);
	public List<ProjectDiagram> findByProject(@QueryParam("oid") Long projectOid);
	public ProjectDiagram save(ProjectDiagram c);
	public ProjectDiagram update(ProjectDiagram c);
	public void delete(ProjectDiagram c);
	
}
